package com.cskaoyan.service;

import com.cskaoyan.bean.data.BaseData;
import com.cskaoyan.bean.param.CouponDetail;
import com.cskaoyan.bean.param.CouponParam;
import com.cskaoyan.bean.pojo.MallCoupon;
import com.cskaoyan.bean.pojo.MallCouponUpdate;
import com.cskaoyan.bean.pojo.MallCouponUser;

public interface CouponService {



    BaseData<MallCoupon> queryList(CouponParam couponParam);

    MallCoupon create(MallCoupon mallCoupon);

    MallCoupon update(MallCouponUpdate mallCouponUpdate);


    int delete(MallCoupon mallCoupon);


    BaseData<MallCouponUser> queryUserList(CouponDetail couponDetail);

    MallCoupon read(Integer id);
}
